<%--
  Created by IntelliJ IDEA.
  User: 谢兴鑫
  Date: 2022/5/13
  Time: 上午 09:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
</head>
<body>
<table class="layui-table">
    <thead>
    <tr>
        <th>任务ID</th>
        <th>实例ID</th>
        <th>流程ID</th>
        <th>任务名称</th>
        <th>任务执行人</th>
        <th>任务创建时间</th>
        <th>查看详情</th>
        <th>办理进度</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${stutaskList}" var="t">
        <tr>
            <td>${t.id}</td>
            <td>${t.processInstanceId}</td>
            <td>${t.processDefinitionId}</td>
            <td>${t.name}</td>
            <td>${t.assignee}</td>
            <td>
                    ${t.createTime}
            </td>
            <td>
                <a href="${pageContext.request.contextPath }/holidaystudent/stutaskDetail?taskId=${t.id}&instId=${t.processInstanceId}">处理任务</a>
            </td>
            <td>
                <a href="${pageContext.request.contextPath }/holidaystudent/stulookTaskImg?processInstanceId=${t.processInstanceId}">办理进度</a>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>
